package com.senlingspace.system.mapper;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;
import com.senlingspace.system.domain.SlkjShiftManagement;
import org.apache.ibatis.annotations.Param;

/**
 * 员工交接班记录Mapper接口
 * 
 * @author SenlingSpace
 * @date 2024-07-24
 */
public interface SlkjShiftManagementMapper 
{
    /**
     * 查询员工交接班记录
     * 
     * @param id 员工交接班记录主键
     * @return 员工交接班记录
     */
    public SlkjShiftManagement selectSlkjShiftManagementById(Long id);

    /**
     * 查询员工交接班记录列表
     * 
     * @param slkjShiftManagement 员工交接班记录
     * @return 员工交接班记录集合
     */
    public List<SlkjShiftManagement> selectSlkjShiftManagementList(SlkjShiftManagement slkjShiftManagement);

    /**
     * 新增员工交接班记录
     * 
     * @param slkjShiftManagement 员工交接班记录
     * @return 结果
     */
    public int insertSlkjShiftManagement(SlkjShiftManagement slkjShiftManagement);

    /**
     * 修改员工交接班记录
     * 
     * @param slkjShiftManagement 员工交接班记录
     * @return 结果
     */
    public int updateSlkjShiftManagement(SlkjShiftManagement slkjShiftManagement);

    /**
     * 删除员工交接班记录
     * 
     * @param id 员工交接班记录主键
     * @return 结果
     */
    public int deleteSlkjShiftManagementById(Long id);

    /**
     * 批量删除员工交接班记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSlkjShiftManagementByIds(Long[] ids);



    List<SlkjShiftManagement> selectSlkjShiftManagementByTime(Date startTime);

    List<SlkjShiftManagement> selectSlkjShiftManagementLists(@Param("slkjShiftManagement") SlkjShiftManagement slkjShiftManagement,@Param("shop") List<Long> shop);

    SlkjShiftManagement selectSlkjShiftManagement(@Param("userId") Long userId,@Param("date") Date date);

    List<SlkjShiftManagement> selectSlkjShiftManagementByUserId(Long userId);
}
